package com.example.system.domain.sysuser.dto;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@Valid
public class LoginDTO {
    @NotEmpty(message = "用户账户不能为空")
    private String userAccount;

    @NotEmpty(message = "用户密码不能为空")
    private String password;
}
